class A{
    int a ;
    double b ;

    public A(int a, double b) {
        this.a = a;
        this.b = b;
    }
}
class B extends A{
    int c;
//    public void fun(){
//        System.out.println(a);
//        System.out.println(super.a);
//    }

    public B(int a, double b, int c) {
        super(a, b);
        this.c = c;
    }
    public void  Mprint(){
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }
}
public class Test2 {
    public static void main(String[] args) {
        B b = new B(1 ,2.0,3);
        b.Mprint();
    }
}
